package DomainLayer;

public abstract class User
{
    private String id;
    private String password;
    private boolean isManager;
    
    /**
     * @param id user's unique ID to login the system.
     * @param password the user's password to login the system.
     */
    public User(String id, String password)
    {
       this.id=id;
       this.password=password;
    }

    public void setID(String id)
    {
        this.id=id;
    }
    
    public String getID()
    {
        return id;
    }
    
    
    public void setPassword(String password)
    {
        this.password=password;
    }
    
    public String getPassword()
    {
        return password;
    }
    
    public void setIsManager()
    {
        isManager= true;
        
    }
    
    
    public boolean isManager()
    {
        return isManager;
    }
    
}